home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XVisibilityNotifyEvent.z / XVisibilityNotifyEvent
Encoding:
Text File  |  1998-10-30  |  5.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXVVVViiiissssiiiibbbbiiiilllliiiittttyyyyEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXVVVViiiissssiiiibbbbiiiilllliiiittttyyyyEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XVisibilityNotifyEvent - VisibilityNotify event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _V_i_s_i_b_i_l_i_t_y_N_o_t_i_f_y events contains:
  13.  
  14.           typedef struct {
  15.                int type;                /* VisibiltyNotify */
  16.                unsigned long serial;    /* # of last request processed by server */
  17.                Bool send_event;         /* true if this came from a SendEvent request */
  18.                Display *display;        /* Display the event was read from */
  19.                Window window;
  20.                int state;
  21.           } XVisibilityEvent;
  22.  
  23.           When you receive this event, the structure members are set
  24.           as follows.
  25.  
  26.           The type member is set to the event type constant name that
  27.           uniquely identifies it.  For example, when the X server
  28.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  29.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  30.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  31.           pointer to the display the event was read on.  The
  32.           send_event member is set to _T_r_u_e if the event came from a
  33.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  34.           the serial number reported in the protocol but expanded from
  35.           the 16-bit least-significant bits to a full 32-bit value.
  36.           The window member is set to the window that is most useful
  37.           to toolkit dispatchers.
  38.  
  39.           The window member is set to the window whose visibility
  40.           state changes.  The state member is set to the state of the
  41.           window's visibility and can be _V_i_s_i_b_i_l_i_t_y_U_n_o_b_s_c_u_r_e_d,
  42.           _V_i_s_i_b_i_l_i_t_y_P_a_r_t_i_a_l_l_y_O_b_s_c_u_r_e_d, or _V_i_s_i_b_i_l_i_t_y_F_u_l_l_y_O_b_s_c_u_r_e_d.
  43.           The X server ignores all of a window's subwindows when
  44.           determining the visibility state of the window and processes
  45.           _V_i_s_i_b_i_l_i_t_y_N_o_t_i_f_y events according to the following:
  46.  
  47.           +o    When the window changes state from partially obscured,
  48.                fully obscured, or not viewable to viewable and
  49.                completely unobscured, the X server generates the event
  50.                with the state member of the _X_V_i_s_i_b_i_l_i_t_y_E_v_e_n_t structure
  51.                set to _V_i_s_i_b_i_l_i_t_y_U_n_o_b_s_c_u_r_e_d.
  52.  
  53.           +o    When the window changes state from viewable and
  54.                completely unobscured or not viewable to viewable and
  55.                partially obscured, the X server generates the event
  56.                with the state member of the _X_V_i_s_i_b_i_l_i_t_y_E_v_e_n_t structure
  57.                set to _V_i_s_i_b_i_l_i_t_y_P_a_r_t_i_a_l_l_y_O_b_s_c_u_r_e_d.
  58.  
  59.           +o    When the window changes state from viewable and
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXVVVViiiissssiiiibbbbiiiilllliiiittttyyyyEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXVVVViiiissssiiiibbbbiiiilllliiiittttyyyyEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.                completely unobscured, viewable and partially obscured,
  75.                or not viewable to viewable and fully obscured, the X
  76.                server generates the event with the state member of the
  77.                _X_V_i_s_i_b_i_l_i_t_y_E_v_e_n_t structure set to
  78.                _V_i_s_i_b_i_l_i_t_y_F_u_l_l_y_O_b_s_c_u_r_e_d.
  79.  
  80.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  81.           XAnyEvent(3X11), XButtonEvent(3X11),
  82.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  83.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  84.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  85.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  86.           XErrorEvent(3X11), XExposeEvent(3X11),
  87.           XFocusChangeEvent(3X11), XGraphicsExposeEvent(3X11),
  88.           XGravityEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  89.           XMapRequestEvent(3X11), XPropertyEvent(3X11),
  90.           XReparentEvent(3X11), XResizeRequestEvent(3X11),
  91.           XSelectionClearEvent(3X11), XSelectionEvent(3X11),
  92.           XSelectionRequestEvent(3X11), XUnmapEvent(3X11),
  93.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.